package easycloud.ecs.provider.snda.model;

import java.io.InputStream;

import com.snda.storage.service.model.StorageObject;

import easycloud.ecs.api.model.IStorageObject;

public class SndaStorageObject implements IStorageObject {

	private StorageObject object;

	public SndaStorageObject(StorageObject storageObject) {
		object = storageObject;
	}

	@Override
	public String getETag() {
		return object.getETag();
	}

	@Override
	public String getKey() {
		return object.getKey();
	}

	@Override
	public InputStream getObjectContent() {
		return object.getDataInputStream();
	}
}
